# -*- coding: utf-8 -*-
from django.conf.urls import patterns,  url

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
PATHPROJECT = "C:/Users/asfreitas/workspace/project-quotation/sistema/"
admin.autodiscover()

urlpatterns = patterns('',
    url(r'^$', 'calc.views.index'),
    (r'^templates/(?P<path>.*)$', 'django.views.static.serve',{'document_root': PATHPROJECT + 'templates'}),
    (r'^media/(?P<path>.*)$', 'django.views.static.serve',{'document_root': PATHPROJECT + 'media'}),
    (r'^removeprojeto$', 'calc.views.removeprojeto'),
    (r'^projetos$', 'calc.views.projetos'),
    (r'^equipamentos$', 'calc.views.equipamentos'),
     (r'^verprojeto$', 'calc.views.verprojeto'),
     (r'^removeitemproj$', 'calc.views.removeitemproj'),
     (r'^insertitemproj$', 'calc.views.insertitemproj'),
     (r'^updateitem$', 'calc.views.updateitem'),
     (r'^updatetipo$', 'calc.views.updatetipo'),
     (r'^removetipo$', 'calc.views.removetipo'),
    (r'^saveproject', 'calc.views.saveproject'),
    (r'^createcsv', 'calc.views.createcsv'),
    (r'^allcsv', 'calc.views.allcsv'),
     (r'^resetlist', 'calc.views.resetlist'),
    # Uncomment the next line to enable the admin:
    #url(r'^admin/', include(admin.site.urls)),
)
